<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
|==========================================================
| Code Igniter - by pMachine
|----------------------------------------------------------
| www.codeignitor.com
|----------------------------------------------------------
| Copyright (c) 2006, pMachine, Inc.
|----------------------------------------------------------
| This library is licensed under an open source agreement:
| www.codeignitor.com/docs/license.html
|----------------------------------------------------------
| File: helpers/ip_helper.php
|----------------------------------------------------------
| WIKI HELPER
|==========================================================
*/


   /**
    * Wikify
    */
    function wikify($pagename,$part="")
    {
    	$CI =& get_instance();
    	if (class_exists('wiki_model'))
    	return $CI->wiki_model->wiki2html($pagename,$part);
    }

    function getmeta($pagename,$item="")
    {
     	$CI =& get_instance();
    	if (class_exists('wiki_model'))
    	return $CI->wiki_model->readMeta($pagename,$item);   
    }

?>
